Fix code example in the guide
authorAlex Crichton <alex@alexcrichton.com>
Tue, 20 Jan 2015 00:03:41 +0000 (16:03 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 20 Jan 2015 00:03:41 +0000 (16:03 -0800)
Closes #1187

src/doc/guide.md

index 1cc1b37a28e70550dc6efea1323abe06d6851b35..3a50e0117fa9014b1d3c5ffa041ef7cea4d2099a 100644 (file)
@@ -157,7 +157,7 @@ use color::{Rgb, ToHsv};
 fn main() {
     println!("Converting RGB to HSV!");
     let red = Rgb::new(255u8, 0, 0);
-    println!("HSV: {}", red.to_hsv::<f32>());
+    println!("HSV: {:?}", red.to_hsv::<f32>());
 }
 ```